{extend name="admin@public/base_content" /}
{block name="styles"}
<link rel="stylesheet" type="text/css" href="/public/webuploader/webuploader.css">
{/block}
{block name="main-content"}
<div class="page-content">
    <div class="row">
        <div class="col-xs-12">

            <div class="row">
                <div class="col-xs-12">
                    <form  class="form-horizontal ajaxForm-noJump"  enctype="multipart/form-data"  method="post">
                        <div class="form-group">
                            <label class="col-sm-3 control-label no-padding-right"> 模板 </label>
                            <div class="col-sm-9">
                                <a href="{:url('excelModel')}"><div class="webuploader-pick">下载</div></a>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label no-padding-right"> excel </label>
                            <div class="col-sm-9">
                                <div class="upload-file no-padding col-xs-10 col-sm-5">
                                    <input type="hidden" name="file"  data-multiple="false"
                                       id="file"  value="">
                                    <div id="picker_file" class="webuploader-container">
<!--                                        <div class="webuploader-pick">上传单个文件</div>-->
<!--                                        <div id="rt_rt_1fj97upfj9bj1lg1dra1pobmib1"-->
<!--                                             style="position: absolute; inset: 0px auto auto 0px; width: 108px; height: 39px; overflow: hidden;">-->
<!--                                            <input type="file" capture="camera" name="file"-->
<!--                                                   class="webuploader-element-invisible" accept="">-->
<!--                                            <label-->
<!--                                                style="opacity: 0; width: 100%; height: 100%; display: block; cursor: pointer; background: rgb(255, 255, 255);"></label>-->
<!--                                        </div>-->
<!--                                        <div style="position: absolute; inset: 0px auto auto 0px; width: 108px; height: 39px; overflow: hidden;">-->
                                            <input type="file" capture="camera" name="file"
                                                   class="" accept="">
<!--                                        </div>-->
                                    </div>
                                </div>
                                <span class="middle help-text">上传模板填充数据后的excel文件,格式不正确会有未知后果，文件名用英文/数字</span></div>
                        </div>

<!--                        <div class="form-group"><label class="col-sm-3 control-label no-padding-right"> 销售 </label>-->
<!--                            <div class="col-sm-9"><select name="sell_id" id="select-sell_id" title=""-->
<!--                                                          class="col-xs-10 col-sm-5">-->
<!--                                <option value="" selected="selected">选择销售</option>-->
<!--                                <option value="19">销售001</option>-->
<!--                                <option value="21">销售002</option>-->
<!--                            </select></div>-->
<!--                        </div>-->
<!--                        <div class="form-group"><label class="col-sm-3 control-label no-padding-right"> 手机号 </label>-->
<!--                            <div class="col-sm-9">-->
<!--                                <input type="text" name="mobile" class="col-xs-10 col-sm-5" style=" " placeholder="必填" required="">-->
<!--                            </div>-->
<!--                        </div>-->

                        <div class="clearfix form-actions">
                            <div class="col-xs-offset-3 col-xs-9">
                                <button class="btn btn-info " type="submit"><i
                                        class="ace-icon fa fa-check bigger-110"></i>确定
                                </button>
                                <button class="btn " type="reset"><i class="ace-icon fa fa-undo bigger-110"></i>重置
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>

        </div>
    </div>
</div><!-- /.page-content -->
{/block}
{block name="scripts"}
{/block}